package com.idealighter.game.games.blackjack.struct;

public enum GameStatus {

  /**
   * REST 休息.
   */
  REST(1, "休息"),
  /**
   * BET . 下注阶段.
   */
  BET(2, "下注"),
  /**
   * DEAL . 发牌.
   */
  DEAL(3, "发牌"),

  /**
   * INSURANCE 保险.
   */
  INSURANCE(4, "保险"),

  /**
   * INSURANCE_BILL 保险结算.
   */
  INSURANCE_BILL(5, "保险结算"),

  /**
   * PLAYER_OP . 玩家操作.
   */
  PLAYER_OP(6, "玩家操作"),

  /**
   * DEALER_OP . 庄家操作.
   */
  BANKER_OP(7, "庄家操作"),

  /**
   * BILL . 结算.
   */
  BILL(8, "结算");


  private final int val;
  private final String desc;

  public int getVal() {
    return val;
  }

  public String getDesc() {
    return desc;
  }

  /**
   * 游戏状态.
   * 
   * @param val .
   * @param desc .
   */
  private GameStatus(int val, String desc) {
    this.val = val;
    this.desc = desc;
  }

}
